package com.pta.day8_13;

import java.util.Scanner;

public class Day1 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        char[] value = in.next().toCharArray();
        int sum = 0;
        for (char c : value) {
            sum += (int)c - 48;
        }
        String result = "";
        while (sum > 0) {
            switch (sum % 10) {
                case 1:
                    result = "yi " + result;
                    break;
                case 2:
                    result = "er " + result;
                    break;
                case 3:
                    result = "san " + result;
                    break;
                case 4:
                    result = "si " + result;
                    break;
                case 5:
                    result = "wu " + result;
                    break;
                case 6:
                    result = "liu " + result;
                    break;
                case 7:
                    result = "qi " + result;
                    break;
                case 8:
                    result = "ba " + result;
                    break;
                case 9:
                    result = "jiu " + result;
                    break;
                case 0:
                    result = "ling " + result;
                    break;
                default:
                    break;
            }
            sum /= 10;
        }
        System.out.println(result.substring(0, result.length() - 1));
    }
}
